<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>	
<%@ include file="/pub/front_headmeta.jsp" %>
</head>
<body>
	<div class="top">
		<div class="top-back">
			<a href="javascript:void(0);" onclick="doLoginOut();" >
				<input name="退出" type="button" class="back-botton-left" value="退出"/>
			</a>
		</div>
		<div class="top-word">最新上传情况</div>
		<div class="top-bottom-right"><input name="history" type="button" class="back-botton-right" onclick="javascript:history();" value="历史"/></div>
	</div>
		
	<div class="middle">
		<c:forEach items="${data}" var="o" varStatus="status">		
			<div class="messages">	
				<a href="#" onclick="javascript:viewMsg('${o.batchId}');">
					<span class="font-1">${status.index+1}</span>
					<span class="font-2"><fmt:formatDate value="${o.uploadTime}" pattern="yyyy-MM-dd HH:mm" /></span>
					<span class="font-3">${o.uploador}</span>
					<span class="font-4">上传${o.uploadNum}条</span>	
				</a>
			</div>	
		</c:forEach>
	</div>
</body>
</html>
<script type="text/javascript">
<!--
//查看消息列表
function viewMsg(id){
	location.href="${ctx}/msg!viewFrontMsg.action?batchId="+id;
}
//登出
function doLoginOut(){
	location.href="${ctx}/sys!logoutFront.action";
}
function history(){
	location.href="${ctx}/msgOrder!frontHistory.action";
}
//-->
</script>

